package com.lazy.core.mapper;

import com.lazy.core.entity.ActivityInfo;
import com.lazy.utils.mybatis.tk.mapper.MyMapper;
import org.apache.ibatis.annotations.Select;

public interface ActivityInfoMapper extends MyMapper<ActivityInfo> {

    @Select("select * from activity_info order by id desc limit 1")
    ActivityInfo getLastActivityInfo();
}